<%= error_messages_for 'character' %>

 <h1>New Player</h1>
     <% form_tag :action => 'create' do %>
         <p>
            <label for="character_name">Name</label><br/>
            <%= text_field 'character', 'name'  %>
         </p>
         
         <p><label for="character_class">Class</label><br/>
            <%= collection_select 'character', 'chrclass_id', @classes, :id, :name %>
         </p>
         
         <p><label for="character_race">Race</label><br/>
            <%= collection_select 'character', 'race_id', @races, :id, :name %>
         </p>
                  
         <%= submit_tag "Create" %>
     <% end %>

<br>
<%= link_to "Back", :action => "list" %>